package com.netease.homework.meta;

/**
 * 
 * @author smart
 * @时间 2019年3月8日
 * @描述 商品类
 */
public class Commodity {

	private Integer id;
	private String name;//标题
	private Double price;//价格
	private String picture;//图片
	private String summary;//摘要
	private String description;//正文
	private Boolean isSelled;//是否售出
	
	
	public Commodity(Integer id, String name, Double price, String picture, String summary, String description,
			Boolean isSelled) {
		super();
		this.id = id;
		this.name = name;
		this.price = price;
		this.picture = picture;
		this.summary = summary;
		this.description = description;
		this.isSelled = isSelled;
	}

	public Commodity() {
		
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Boolean getIsSelled() {
		return isSelled;
	}

	public void setIsSelled(Boolean isSelled) {
		this.isSelled = isSelled;
	}
	
	
	
}
